package com.aboxes.sqlite;

import com.aboxes.sqlite.annotation.Column;
import com.aboxes.sqlite.annotation.DataBase;
import com.aboxes.sqlite.annotation.Id;
import com.aboxes.sqlite.annotation.Table;

@DataBase(name = "test_db")
@Table(name = "user")
public class User {
	private Integer id;
	private Integer age;
	private String name;

	@Column(name = "age")
	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Id
	@Column(name = "id")
	public Integer getId() {
		return id;
	}
}
